.class public Lcom/estrongs/android/ui/navigation/ADUnlockActivity;
.super Lcom/estrongs/android/ui/base/HomeAsBackActivity;
.source "ADUnlockActivity.java"


# instance fields
.field private j:Landroid/widget/PopupWindow;

.field private k:Landroid/widget/LinearLayout;

.field private l:Lcom/estrongs/android/ui/recycler/a;

.field private m:Landroid/widget/ImageView;

.field private n:Ljava/lang/String;

.field private o:Landroid/widget/TextView;

.field private p:Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;

.field private q:Landroidx/recyclerview/widget/RecyclerView;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;-><init>()V

    return-void
.end method

.method private F()V
    .locals 3

    const v0, 0x7f090702

    .line 1
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->k:Landroid/widget/LinearLayout;

    const v0, 0x7f0900a3

    .line 2
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 3
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f060104

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    const v0, 0x7f0905a3

    .line 4
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->m:Landroid/widget/ImageView;

    const/high16 v1, 0x43340000    # 180.0f

    .line 5
    invoke-static {v0, v1}, Landroidx/core/view/ViewCompat;->setRotation(Landroid/view/View;F)V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->k:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/estrongs/android/ui/navigation/ADUnlockActivity$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/navigation/ADUnlockActivity$a;-><init>(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f090cac

    .line 7
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->o:Landroid/widget/TextView;

    .line 8
    iget-object v1, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->n:Ljava/lang/String;

    if-eqz v1, :cond_0

    .line 9
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_0
    const v1, 0x7f11007f

    .line 10
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const v0, 0x7f09008c

    .line 11
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/recyclerview/widget/RecyclerView;

    iput-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->q:Landroidx/recyclerview/widget/RecyclerView;

    .line 12
    new-instance v1, Lcom/estrongs/android/pop/app/log/WrapContentLinearLayoutManager;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/log/WrapContentLinearLayoutManager;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 13
    new-instance v0, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;-><init>(Landroid/app/Activity;I)V

    iput-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->p:Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;

    .line 14
    iget-object v1, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->q:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;)Landroid/widget/PopupWindow;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->n:Ljava/lang/String;

    return-object p1
.end method

.method private a(Landroid/view/View;)V
    .locals 5

    .line 5
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c0052

    const/4 v2, 0x0

    .line 6
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 7
    new-instance v1, Lcom/estrongs/android/ui/recycler/a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/recycler/a;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->l:Lcom/estrongs/android/ui/recycler/a;

    const v1, 0x7f0906eb

    .line 8
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ListView;

    .line 9
    iget-object v2, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->l:Lcom/estrongs/android/ui/recycler/a;

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 10
    new-instance v2, Landroid/widget/PopupWindow;

    const/high16 v3, 0x437a0000    # 250.0f

    invoke-static {p0, v3}, Les/fy;->a(Landroid/content/Context;F)I

    move-result v3

    const/4 v4, -0x2

    invoke-direct {v2, v0, v3, v4}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v2, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    .line 11
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v3, 0x7f080996

    invoke-virtual {v0, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    const v3, 0x1030002

    invoke-virtual {v0, v3}, Landroid/widget/PopupWindow;->setAnimationStyle(I)V

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->update()V

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v2}, Landroid/widget/PopupWindow;->setTouchable(Z)V

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v2}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    invoke-virtual {v0, p1}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;)V

    .line 18
    new-instance p1, Lcom/estrongs/android/ui/navigation/ADUnlockActivity$b;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/navigation/ADUnlockActivity$b;-><init>(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;)V

    invoke-virtual {v1, p1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    new-instance v0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/navigation/ADUnlockActivity$c;-><init>(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;)V

    invoke-virtual {p1, v0}, Landroid/widget/PopupWindow;->setOnDismissListener(Landroid/widget/PopupWindow$OnDismissListener;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;F)V
    .locals 0

    .line 4
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->b(F)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;Landroid/view/View;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->b(Landroid/view/View;)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->n:Ljava/lang/String;

    return-object p0
.end method

.method private b(F)V
    .locals 2

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 8
    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v1

    .line 9
    iput p1, v1, Landroid/view/WindowManager$LayoutParams;->alpha:F

    .line 10
    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    :cond_0
    return-void
.end method

.method private b(Landroid/view/View;)V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->j:Landroid/widget/PopupWindow;

    if-nez v0, :cond_0

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->a(Landroid/view/View;)V

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {v0, p1}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;)V

    .line 5
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->m:Landroid/widget/ImageView;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Landroidx/core/view/ViewCompat;->setRotation(Landroid/view/View;F)V

    const/high16 p1, 0x3f000000    # 0.5f

    .line 6
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->b(F)V

    return-void
.end method

.method static synthetic c(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->o:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic d(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;)Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->p:Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;

    return-object p0
.end method

.method static synthetic e(Lcom/estrongs/android/ui/navigation/ADUnlockActivity;)Landroid/widget/ImageView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->m:Landroid/widget/ImageView;

    return-object p0
.end method


# virtual methods
.method protected A()Landroidx/appcompat/app/ActionBar;
    .locals 3

    const v0, 0x7f09008e

    .line 1
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/appcompat/widget/Toolbar;

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->setSupportActionBar(Landroidx/appcompat/widget/Toolbar;)V

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->v()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f060252

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroidx/appcompat/widget/Toolbar;->setTitleTextColor(I)V

    .line 4
    invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object v0

    return-object v0
.end method

.method protected D()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 0

    .line 1
    invoke-super {p0, p1, p2, p3}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/16 p3, 0x1020

    if-ne p1, p3, :cond_0

    const/4 p1, -0x1

    if-ne p2, p1, :cond_0

    .line 2
    invoke-virtual {p0, p1}, Landroid/app/Activity;->setResult(I)V

    .line 3
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    :cond_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onCreate(Landroid/os/Bundle;)V

    const p1, 0x7f0c0025

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->setContentView(I)V

    const p1, 0x7f1106d9

    .line 3
    invoke-virtual {p0, p1}, Landroid/app/Activity;->setTitle(I)V

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->F()V

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/app/premium/h;->a()Lcom/estrongs/android/pop/app/premium/h;

    move-result-object p1

    const-string v0, "unlock"

    invoke-virtual {p1, p0, v0}, Lcom/estrongs/android/pop/app/premium/h;->a(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/navigation/ADUnlockActivity;->p:Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/navigation/ADUnlockAdapter;->d()V

    return-void
.end method

.method protected onPause()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onPause()V

    return-void
.end method

.method protected onResume()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onResume()V

    return-void
.end method

.method protected onStart()V
    .locals 4

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onStart()V

    .line 2
    invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object v0

    .line 3
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    invoke-virtual {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->B()I

    move-result v2

    const v3, 0x7f060320

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setHomeAsUpIndicator(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method
